<%@ page language="java" import="gt.service.*,java.util.*" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>添加反馈信息</title>
</head>
<body>
<% 	
    //建立企业性质，企业类型，企业资信，开户银行，客户服务对象，
    //调用其中统计方法得到其中的值填入选项中
	//这是客户名称统计
	KhxxService khxxService = new KhxxService();
	ArrayList<String> countKhxx=khxxService.getCountKhxx();
	request.setAttribute("countKhxx", countKhxx);
	//这是统计客户满意程度
	KhmydService khmydService = new KhmydService();
	ArrayList<String> countKhmyd=khmydService.getCountKhmyd();
	request.setAttribute("countKhmyd", countKhmyd);

    
%>
<img alt="" src="/ClientManager/images/36.png">
<hr>
<form action="<%=request.getContextPath()%>/addKhfk.do" method="post" target="right">
	<table  width="600px" border="1" cellspacing="0">
	<tr height="20px"><td align="right" valign="bottom" bgcolor="#FFCC33"><font size="3">客户反馈编号:</font></td><td valign="bottom"><input type="text" name="khfk_id"/></td><td align="right" valign="bottom" bgcolor="#FFCC33"><font size="3">客户反馈标题:</font></td><td valign="bottom"><input type="text" name="khfk_fkbt"/></td></tr>
	<tr height="20px"><td align="right" valign="bottom" bgcolor="#FFCC33"><font size="3">客户反馈日期:</font></td><td valign="bottom"><input type="text" name="khfk_fkrq"/></td><td align="right" valign="bottom" bgcolor="#FFCC33"><font size="3">客户名称:</font></td><td valign="bottom"><select name="khfk_khmc"><option value="">----------请选择----------</option><c:forEach items="${countKhxx}" var="allKhxx"><option value="${allKhxx}">${allKhxx}</option></c:forEach></select></td></tr>
	<tr height="20px"><td align="right" valign="bottom" bgcolor="#FFCC33"><font size="3">客户满意程度:</font></td><td valign="bottom"><select name="khfk_khmyd"><option value="">----------请选择----------</option><c:forEach items="${countKhmyd}" var="allKhmyd"><option value="${allKhmyd}">${allKhmyd}</option></c:forEach></select></td><td align="right" valign="bottom" bgcolor="#FFCC33"><font size="3">反馈意见受理人:</font></td><td valign="bottom"><input type="text" name="khfk_fkdeal"/></td></tr>
	<tr height="20px"><td align="right" valign="bottom" bgcolor="#FFCC33"><font size="3">备注:</font></td><td valign="bottom"><input type="text" name="khfk_bz"/></td></tr>
	<tr ><td colspan="4" align="center" valign="bottom" bgcolor="#FFCC33">客户反馈具体内容</td></tr>
	<tr ><td colspan="4"><textarea name="khfk_fknr" cols="90" rows="10"></textarea></td></tr>
	
	<tr><td></td><td valign="top" colspan="3"><input style="font-size: 15px" type="submit" value="提交">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input style="font-size: 15px" type="reset" value="重置"></td></tr>
	

 </table>
</form>
</body>
</html>